Skip to content

Conversation

ldionne
Copy link
Member

@ldionne ldionne commented Oct 7, 2025

The lit.cfg file was overriding PYTHONPATH to use the contents in /build if that existed. This means that if you install the package locally with pip install . and get that temporary build directory, it will be preferred over the just-built version that gets installed when running tox.

Instead, leave PYTHONPATH alone and let it be set by tox.

The lit.cfg file was overriding PYTHONPATH to use the contents in
<PWD>/build if that existed. This means that if you install the
package locally with `pip install .` and get that temporary build
directory, it will be preferred over the just-built version that
gets installed when running `tox`.

Instead, leave PYTHONPATH alone and let it be set by `tox`.
@ldionne ldionne merged commit e538304 into llvm:main Oct 7, 2025
2 of 3 checks passed
@ldionne ldionne deleted the review/fix-lit-config branch October 7, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant